<div class="widget-box">
  <div class="widget-title title-bar">
    <h3>
      <span>添加职员</span>
    </h3>  
  </div>
  <div class="widget-content">
    <form role="form" class="form-horizontal" name="form"  ng-submit="add_employee(organization_employee)">
      <div class="control-group">
      <label class="control-label">职员</label>
      <div class="controls">
        <select placeholder="必填项" ng-model="organization_employee.employee_id" required>
          <option ng-repeat="c in employees" value="{{c.id}}">{{c.name}}</option>
        </select>
      </div>
    </div>
    <div class="control-group">
      <label class="control-label">岗位</label>
      <div class="controls">
        <select placeholder="必填项" ng-model="organization_employee.position_id" required>
          <option ng-repeat="c in positions" value="{{c.id}}">{{c.name}}</option>
        </select>
      </div>
    </div>

    <div class="control-group">
      <label class="control-label"> 上岗时间</label>
      <div class="controls">            
        <input type="date" ng-model="organization_employee.induction_time" placeholder="必填项" onClick="WdatePicker({onpicked: function(){$(this).trigger('change')}});" class="input-time" required>  
      </div>         
    </div> 

      <div class="form-actions">          
          <input type="submit" class="btn bg-green" value="保存" />     
          <input type="submit" class="btn btn-default" value="取消" />         
      </div>
    </form>
 </div>
</div>